<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<div data-role="page" id="login_page">
    <div data-role="content">
        <label for="login_id">ID : </label>
        <input type="text" data-clear-btn="true" name="login_id" id="login_id" value="pi">
        
        <label for="login_password">Password : </label>
        <input type="password" data-clear-btn="true" name="login_password" id="login_password" value="raspberrypi" autocomplete="off">
        <label>
            <p><c:out value="${resultMessage}"/></p>
        </label>
    </div>
    
    <div data-role="footer" align="center">
        <button type="button" data-icon="home" data-iconpos="left" data-inline="true" onclick="jQuery.mobile.changePage('login.do?method=login', {type:'post', transition: 'flip', data:{login_id: $('#login_id').val(), login_password: $('#login_password').val()}});">Login</button>
    </div>
</div>